package constructor;

public class Customer {
	
	private String firstName;
	private String lastName;
	private String phoneNumber;
	private int numOfItem;
    private final double PRICE = 10.00;
	
	

 public Customer (String firstName, String lastName, String phoneNumber )
	{
		this.firstName = firstName;
		this.lastName = lastName;
		this.phoneNumber = phoneNumber;
	}
	
 
public String getFirstName() {
	return firstName;
}
public String getLastName() {
	return lastName;
}
public String getPhoneNumber() {
	return phoneNumber;
}


public void setPhoneNumber(String phoneNumber) {
	this.phoneNumber = phoneNumber;
}


public int getNumOfItem() {
	return numOfItem;
}


public void setNumOfItem(int numOfItem) {
	this.numOfItem = numOfItem;
}
	
	public double calculateTotal()
	{
	    
		double totalPrice = numOfItem * PRICE ;
		return totalPrice;
	}
}



